﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Houtel.Model
{
    [Table("UserInfo")]
    public class UserInfo
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        public int Uid { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Uname { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string Uzhang { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Upwd { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime Udate { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Usex { get; set; }
        /// <summary>
        /// 管理员
        /// </summary>
        public int Gid { get; set; }
    }
}
